
package com.zsrt.book.dao;

import java.util.Scanner;


public interface BookManagerDao {

	/**
	 * 添加图书
	 * @param scanner
	 * @param bookConstants
	 * @return
	 */
	boolean addBook(Scanner scanner,String bookConstants);
	
	/**
	 * 根据图书编号修改名字
	 * @param scanner
	 * @param id
	 * @param bookConstants
	 * @return
	 */
	boolean updateBook(Scanner scanner,int id,String bookConstants);
	
	/**
	 * 根据编号删除图书
	 * @param id
	 * @param bookConstants
	 * @return
	 */
	boolean deleteBook(int id,String bookConstants);
	
	/**
	 * 显示所有图书
	 * @param bookConstants
	 */
	void showBooks(String bookConstants);
}
